services.mosquitto.listeners.*.users.<name>.passwordFile

Specifies the path to a file containing the clear text password for the MQTT user. The file is securely passed to mosquitto by leveraging systemd credentials. No special permissions need to be set on this file.

Type
null or absolute path
Default
null
Example
"/path/to/file"
Declared
<nixpkgs/nixos/modules/services/networking/mosquitto.nix>